

<div class="layui-container fly-marginTop fly-user-main">

    {include file='common/Usermenu'/}

    <!-- 移动端按钮 -->
    <div class="site-tree-mobile layui-hide">
      <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>
    
    <div class="site-tree-mobile layui-hide">
      <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>
    
    
    <div class="fly-panel fly-panel-user" pad20>
      <!--
      <div class="fly-msg" style="margin-top: 15px;">
        您的邮箱尚未验证，这比较影响您的帐号安全，<a href="activate.html">立即去激活？</a>
      </div>
      -->
      <div class="x-body">
    
        <xblock>
         
          <span class="x-right" style="line-height:40px">
            共有数据：{$recordsum}条
          </span>
        </xblock>
    
        <table class="layui-table">
          <thead>
            <tr>
              <!-- <th>
                <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
              </th> -->
              <th>消费ID</th>
              <th>消费类型</th>
              <th>消费详情</th>
              <th>消费时间</th>
              <th>消费积分</th>
          </thead>
    
          <tbody>
                {foreach ($records as $item)}
                    <tr>
                        <td>{$item.id}</td>

                        <td>{$item.statetext}</td>
                        <td>{$item.content}</td>
                        <td>{$item.createtime}</td>
                        <td>
                            {if $item['state'] == 1 || $item['state'] == 5 || $item['state'] == 6 || $item['state'] == -1}
                            -
                            {else}
                            +
                            {/if}
                            {$item.point}
                        </td>
                    </tr>
                {/foreach}
          </tbody>
        </table>
    
        <div class="page">
            {$pagestr}
          </div>
    
      </div>
    </div>
  </div>
  